import axiosI from "@/utilx/api.ts";
import {FindBy, SearchWithPage} from "@/types/searcher.ts";
import {Checkout} from "@/types/checkout.ts";

export const CheckOutSearchById = (req: FindBy) => axiosI.post("/checkOut/searchById", req,)
export const CheckOutSearchBy = (req: SearchWithPage<Checkout>) => axiosI.post("/checkOut/searchBy", req)
export const CheckOutUpdateById = (req: Checkout) => axiosI.post("/checkOut/updateById", req)

